﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;//引用

namespace E_Commerce.Domain.Entities
{
    /// <summary>
    /// 订单详情表
    /// </summary>
    [Table("OrderDetail")]
   public class OrderDetail
    {
        [Key]
        public int DetailId { get; set; }
        /// <summary>
        /// 商品ID
        /// </summary>
        public int PrIds { get; set; }
        /// <summary>
        /// 商品数量
        /// </summary>
        public int ProNum { get; set; }
        /// <summary>
        /// 商品小计
        /// </summary>
        public decimal ProTotal { get; set; }
        /// <summary>
        /// 订单外键ID
        /// </summary>
        public int OrId { get; set; }
    }
}
